package database;

public class DatabaseException extends Exception {
    private String message;
    public DatabaseException(Exception e){
        message = e.getMessage();
    }

    public DatabaseException(String mess){
        message = mess;
    }

    @Override
    public String getMessage() {
       return message;
    }
}
